### useRemoteEvent Hook

This hook will automatically subscribe to the event on the server.

```jsx
useRemoteEvent(
  { event, channel },
  value => console.log(value),
  [],
)
```